package com.zzw.entity;

import javax.persistence.*;

@Table(name = "sys_user_role")
public class SysUserRole extends  AbstractAuditingEntity{
    /**
     * 用户id
     */
    @Column(name = "sys_user_id")
    private Integer sysUserId;

    /**
     * 角色id
     */
    @Column(name = "role_id")
    private Integer roleId;



    /**
     * 获取用户id
     *
     * @return sys_user_id - 用户id
     */
    public Integer getSysUserId() {
        return sysUserId;
    }

    /**
     * 设置用户id
     *
     * @param sysUserId 用户id
     */
    public void setSysUserId(Integer sysUserId) {
        this.sysUserId = sysUserId;
    }

    /**
     * 获取角色id
     *
     * @return role_id - 角色id
     */
    public Integer getRoleId() {
        return roleId;
    }

    /**
     * 设置角色id
     *
     * @param roleId 角色id
     */
    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }


}